#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>


int main()
{
	int x = 28000;
	while (x < 30000)
	{
		printf("%d\n", x);
		x++;
	}
	if (x >= 30000)
	{
		printf("666");
	}
	return 0;

}